package com.nbufe;

import com.nbufe.common.security.annotation.EnableCustomConfig;
import com.nbufe.common.security.annotation.EnableVctgoFeignClients;
//import com.nbufe.common.swagger.annotation.EnableCustomSwagger2;
import lombok.extern.slf4j.Slf4j;
import org.mybatis.spring.annotation.MapperScan;
import org.springframework.amqp.rabbit.annotation.EnableRabbit;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.scheduling.annotation.EnableScheduling;

/**
 * 碳管理模块
 *
 * @author lzh
 */
@Slf4j
@EnableCustomConfig
//@EnableCustomSwagger2
@EnableVctgoFeignClients
@SpringBootApplication
@EnableRabbit
@EnableScheduling
public class CarbonManageApplication {
    public static void main(String[] args) {
        SpringApplication.run(CarbonManageApplication.class, args);
        log.info(" ---碳管理模块启动成功--- \n");
    }
}
